package com.manage.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.manage.entity.TrainingCourse;


public interface ITrainingCourseService {
	public void saveOrUpdate(TrainingCourse trainingCourse);
	public void save(TrainingCourse trainingCourse);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public TrainingCourse findOne(Long id);
	public List<TrainingCourse> findAll();
	//动态条件查询
	public Page<TrainingCourse> findAll(TrainingCourse trainingCourse, Pageable pageable);

}
